﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/Site.master" AutoEventWireup="true" CodeFile="WIN13_2E.aspx.cs" Inherits="IFRS_WIN13_2E" %>

<%@ Register Assembly="vsm.CustomControl" Namespace="vsm.CustomControl" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
        <link href="../Content/plugins/jquery-ui/themes/base/jquery.ui.all.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
     <div class="container-custom">
        <div class="table_master">
            <div class="table_detail">
                <div class="rowinfo">
                    <div class="collabel_single">
                        <asp:Label ID="lblDate_Transection" runat="server" Text="<%$Resources:ifrsField,DATE_TRANSACTION%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo_single">
                        <asp:TextBox ID="txtDate_Transection" CssClass="datepicker" SkinID="dateText"
                            runat="server" onblur="datebox_onblur( this, event );"></asp:TextBox>
                        <span class="red">*</span>
                        <asp:RequiredFieldValidator ID="reqDate_Transection" runat="server" ErrorMessage=""
                            ControlToValidate="txtDate_Transection" Display="Dynamic"></asp:RequiredFieldValidator>
                    </div>
                </div>
                <div class="rowinfo">
                    <div class="collabel_single">
                        <asp:Label ID="lblSourceData" runat="server" Text="<%$Resources:ifrsField,SourceData%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo_single">
                        <asp:DropDownList ID="ddlSourceData" runat="server" SkinID="DropDownListWithNoColor"/>
                        <span class="red">*</span>
                        <asp:RequiredFieldValidator ID="reqSourceData" runat="server" ErrorMessage=""
                            ControlToValidate="ddlSourceData" Display="Dynamic"></asp:RequiredFieldValidator>
                    </div>
                </div>
                <div class="rowinfo">
                    <div class="collabel_single">
                        <asp:Label ID="lblAccountNo_ContractNumber" runat="server" Text="<%$Resources:ifrsField,AccountNo_ContractNumber%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo_single">
                        <asp:TextBox ID="txtAccountNo_ContractNumber" SkinID="TextBoxWithNoColor" runat="server"></asp:TextBox>
                        <span class="red">*</span>
                        <asp:RequiredFieldValidator ID="reqAccountNo_ContractNumber" runat="server" ErrorMessage=""
                            ControlToValidate="txtAccountNo_ContractNumber" Display="Dynamic"></asp:RequiredFieldValidator>
                    </div>
                </div>
                <div class="rowinfo">
                    <div class="collabel_single">
                        <asp:Label ID="lblDate_Payment" runat="server" Text="<%$Resources:ifrsField,PAYMENT_DATE%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo_single">
                        <asp:TextBox ID="txtDate_Payment" CssClass="datepicker" SkinID="S_dateText"
                            runat="server" onblur="datebox_onblur( this, event );"></asp:TextBox>
                        <span class="red">*</span>
                        <asp:RequiredFieldValidator ID="reqDate_Payment" runat="server" ErrorMessage=""
                            ControlToValidate="txtDate_Payment" Display="Dynamic"></asp:RequiredFieldValidator>
                    </div>
                </div>
                <div class="rowinfo">
                    <div class="collabel_single">
                        <asp:Label ID="lblIndividualImpairAmount" runat="server" Text="<%$Resources:ifrsField,INDIVIDUALIMPAIR_AMOUNT%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo_single">
                        <cc1:textboxnumber ID="txtIndividualImpairAmount" runat="server" SkinID="TextBoxWithNoColor"
                            MaxLength="10" DigitDecimal="2" TypeTextbox="Currency" />&nbsp;
                        <asp:Label ID="lblBaht1" runat="server" Text="<%$Resources:ifrsField,BAHT%>" />&nbsp;
                         <span class="red">*</span>
                        <asp:RequiredFieldValidator ID="reqIndividualImpairAmount" runat="server" ErrorMessage=""
                            ControlToValidate="txtIndividualImpairAmount" Display="Dynamic"></asp:RequiredFieldValidator>
                    </div>
                </div>
                <div class="rowinfo">
                    <div class="collabel_single">
                        <asp:Label ID="lblCollateralAmount" runat="server" Text="<%$Resources:ifrsField,COLLATERAL_AMOUNT%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo_single">
                        <cc1:textboxnumber ID="txtCollateralAmount" runat="server" SkinID="TextBoxWithNoColor"
                            MaxLength="10" DigitDecimal="2" TypeTextbox="Currency" />&nbsp;
                        <asp:Label ID="lblBaht2" runat="server" Text="<%$Resources:ifrsField,BAHT%>" />&nbsp;
                         <span class="red">*</span>
                        <asp:RequiredFieldValidator ID="reqCollateralAmount" runat="server" ErrorMessage=""
                            ControlToValidate="txtCollateralAmount" Display="Dynamic"></asp:RequiredFieldValidator>
                    </div>
                </div>
                <div class="rowinfo">
                    <div class="collabel_single">
                        <asp:Label ID="lblInterestRate" runat="server" Text="<%$Resources:ifrsField,INTEREST_RATE%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo_single">
                        <cc1:textboxnumber ID="txtInterestRate" runat="server" SkinID="TextBoxWithNoColor"
                            MaxLength="10" DigitDecimal="6" TypeTextbox="Currency" />&nbsp;
                        <asp:Label ID="lblPercent" runat="server" Text="%" />
                        <span class="red">*</span>
                        <asp:RequiredFieldValidator ID="reqInterestRate" runat="server" ErrorMessage=""
                            ControlToValidate="txtInterestRate" Display="Dynamic"></asp:RequiredFieldValidator>
                    </div>
                </div>
            </div>
            <div class="colbtn">
                <asp:Button ID="btnSAVE" SkinID="NormalButton" runat="server" Text="<%$Resources:ifrsButton,SAVE%>" OnClick="btnSAVE_Click" />&nbsp;
                <asp:Button ID="btnCANCEL" SkinID="NormalButton" runat="server" Text="<%$Resources:ifrsButton,CANCEL%>" OnClick="btnCANCEL_Click" />
            </div>
        </div>
    </div>
    <script src="../Content/js/Currency.js" type="text/javascript"></script>
    <script src="../Content/plugins/jquery-ui/ui/jquery.ui.core.js" type="text/javascript"></script>
    <script src="../Content/plugins/jquery-ui/ui/jquery.ui.widget.js" type="text/javascript"></script>
    <script src="../Content/plugins/jquery-ui/ui/jquery.ui.datepicker.js" type="text/javascript"></script>
    <script src="../Content/plugins/custom.js" type="text/javascript"></script>

    <script type="text/javascript">
        $(function () {
            $(".datepicker").initDatepicker();
        });
    </script>
</asp:Content>

